package com.snu.liwei.lyl_api.mapper;

import com.snu.liwei.lyl_api.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface MyInfoMapper {

    String getValue(String key);

    List<Map<String, Object>> getAll();

    List<User> getUser(String username);
}
